4D Pack v13.2

AP Timestamp to GMT

Home

 
4D Pack v13.2
AP Timestamp to GMT

AP Timestamp to GMT 


 

AP Timestamp to GMT ( localDate ; localTime ; gmtDate ; gmtTime ) -> Function result 
Parameter Type   Description
localDate  Date in Local date to use for the conversion
localTime  Time in Local time to use for the conversion
gmtDate  Date in GMT date returned by the conversion
gmtTime  Time in GMT time returned by the conversion
Function result  String in GMT time in compliance with RFC standard

Compatibility note: Starting with version 12.1 of 4D, the AP Timestamp to GMT command can be replaced with the String command of 4D and by using the Date RFC 1123 constant. Note that the String command also lets you format dates and times according to major standards. 

AP Timestamp to GMT converts local date and time to GMT date and time based on the machine location (set with the Date/Time control panel).

It returns a string in the following format: "Weekday, DD MM YYYY HH:MM:SS GMT". This format is in compliance with RFC 822 standard.

Example  

Given the date of Thursday 11/13/97 and the time of 2:35PM (Paris time zone), the function returns the string "Thu, 13 Nov 1997 13:35:00 GMT". $gmtd is set to 11/13/97 and $gmtt to 13:35:00.

 
PROPERTIES 

Product: 4D Pack
Theme: 4D_Pack : Utilities
Number: 61963

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Pack 6.0.5
Modified: 4D Pack v12